/**
 * 功能描述: tableConstant.scss
 * @author 赵常畅
 * @date 2022/9/23 16:29
 * @version 1.0
 */

@import "../../style/index";

// 基础table
$--table-line-height: 1.5715;
$--table-font-color: rgba(0, 0, 0, 0.85);
$--table-font-size: $font-size-base;
$--table-background-color: $color-white;
$--table-background-transition: background 0.3s;
$--table-box-shadow-transition: box-shadow 0.3s;
$--table-border-radius: $border-radius-base;
$--table-head-foot-background-color: #fafafa;

// table middle 紧凑型表格
$--table-middle-font-size: $--table-font-size;
// table small 紧凑型表格
$--table-small-font-size: $--table-font-size;
$--table-small-thead-background-color: $--table-head-foot-background-color;
// table bordered 带边框表格
$--table-border-color: #f0f0f0;
$--table-border: 1px solid $--table-border-color;
// table resize 可伸缩列表格
$--table-resize-handle-transform: translateX(-50%);
$--table-resize-handle-line-background-color: #1890ff;
// table footer
$--table-footer-font-color: $--table-font-color;
$--table-footer-background-color: $--table-head-foot-background-color;
// table thead
$--table-thead-font-color: $--table-font-color;
$--table-thead-font-weight: $font-weight-primary;
$--table-thead-background-color: $--table-head-foot-background-color;
$--table-thead-transition: $--table-background-transition ease;
$--table-thead-before-background-color: rgba(0, 0, 0, 0.06);
$--table-thead-before-transform: translateY(-50%);
$--table-thead-before-transition: $--table-background-transition;
// table tbody
$--table-tbody-before-transition: $--table-background-transition;
$--table-tbody-selected-background: #e6f7ff;
$--table-tbody-selected-border-color: rgba(0, 0, 0, 0.03);
$--table-tbody-selected-hover-background: #dcf4ff;
$--table-tbody-hover-background: $--table-head-foot-background-color;
